package com.minimoment.model.domain;

import java.io.Serializable;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * 碎碎言语
 * Created by etund on 2014/11/1.
 */
public class Little implements Serializable {
    private Long id;
    private String comtent;
    private Date time;
//    一对多
    private Set<Little> littles = new HashSet<Little>();
//    多对一
     private User user;
//  多对一
    private UMcomemt umComment;
    private MovieNews movieNews;
    private Telecine telecine;

    public MovieNews getMovieNews() {
        return movieNews;
    }

    public void setMovieNews(MovieNews movieNews) {
        this.movieNews = movieNews;
    }

    public Telecine getTelecine() {
        return telecine;
    }

    public void setTelecine(Telecine telecine) {
        this.telecine = telecine;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Set<Little> getLittles() {
        return littles;
    }

    public void setLittles(Set<Little> littles) {
        this.littles = littles;
    }

    public String getComtent() {
        return comtent;
    }

    public void setComtent(String comtent) {
        this.comtent = comtent;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public UMcomemt getUmComment() {
        return umComment;
    }

    public void setUmComment(UMcomemt umComment) {
        this.umComment = umComment;
    }

    @Override
    public String toString() {
        return "Little{" +
                "comtent='" + comtent + '\'' +
                ", time=" + time +
                ", user=" + user +
                ", umComment=" + umComment +
                '}';
    }
}
